package com.wonder.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wonder.app.domain.SfcOptrptPackage;
import com.wonder.app.request.SfcOptrptPackageRequest;
import com.wonder.common.common.AjaxResult;

import java.util.List;
import java.util.Map;

public interface SfcOptrptPackageService  extends IService<SfcOptrptPackage> {
    IPage<SfcOptrptPackage> packageList(SfcOptrptPackageRequest sfcOptrptPackageRequest, Page<SfcOptrptPackage> page);

    Boolean importReport(String userName, Long user_id, List<Map<String, Object>> map) throws Exception;

    Boolean updatePackage(Map<String, Object> map, String userName, Long user_id)throws Exception;

    Boolean auditReportPackage(SfcOptrptPackage sfcOptrptPackage, String userName, Long user_id)throws Exception;
}
